package com.liyuanjinglyj.javacarddemo.widget.widget;

import com.liyuanjinglyj.javacarddemo.ResourceTable;

import com.liyuanjinglyj.javacarddemo.utils.LYJUtils;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Component;
import ohos.agp.components.ComponentContainer;
import ohos.agp.components.LayoutScatter;
import ohos.agp.components.Text;
import ohos.utils.zson.ZSONObject;

/**
 * Second function ability slice.Python
 */
public class FunctionPythonSlice extends AbilitySlice {
    private static final String PARAMS = "params";

    private static final String MESSAGE = "message";

    private String url="https://harmony-1300376177.cos.ap-shanghai.myqcloud.com/python_item.json";
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent((ComponentContainer) LYJUtils.getListContainer(url,this));
    }
}
